package com.huahai.security.core.validate.code.image;

import com.huahai.security.core.validate.code.ValidateCode;

import java.awt.image.BufferedImage;

/**
 * @Author: Jun
 * @Date: 2020/7/17
 *
 * 图片验证码 实体
 */
public class ImageCode extends ValidateCode {

    private BufferedImage image;

    public ImageCode(BufferedImage image, String code, long expireIn) {
        super(code,expireIn);
        this.image = image;
    }

    public BufferedImage getImage() {
        return image;
    }

    public void setImage(BufferedImage image) {
        this.image = image;
    }

}
